BaseIPythonWidget
Sub classes
| Name | Children | Inherits |
|---|---|---|
| InProcessIPythonWidget prettyqt.ipython.inprocessipythonwidget Convenience class for a live IPython console widget. |
||
| OutOfProcessIPythonWidget prettyqt.ipython.outofprocessipythonwidget Convenience class for a live IPython console widget running out-of-process. |
Base classes
| Name | Children | Inherits |
|---|---|---|
| RichJupyterWidget qtconsole.rich_jupyter_widget An JupyterWidget that supports rich text, including lists, images, and |
||
| WidgetMixin prettyqt.widgets.widget |
â‹” Inheritance diagram
graph TD
412360768["ipython.BaseIPythonWidget"]
548562404["rich_jupyter_widget.RichJupyterWidget"]
3893578720["rich_jupyter_widget.RichIPythonWidget"]
2577579137["jupyter_widget.JupyterWidget"]
1359188613["jupyter_widget.IPythonWidget"]
1600289359["frontend_widget.FrontendWidget"]
4247442520["history_console_widget.HistoryConsoleWidget"]
330948184["console_widget.ConsoleWidget"]
831903233["util.NewBase"]
3806155832["configurable.LoggingConfigurable"]
1666290838["configurable.Configurable"]
2478326197["traitlets.HasTraits"]
2674025753["traitlets.HasDescriptors"]
2751680898["builtins.object"]
1089529877["util.SuperQClass"]
3620195106["QtWidgets.QWidget"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
673956333["QtGui.QPaintDevice"]
1685905456["base_frontend_mixin.BaseFrontendMixin"]
829357528["widgets.WidgetMixin"]
3227531497["core.ObjectMixin"]
625385617["gui.PaintDeviceMixin"]
548562404 --> 412360768
3893578720 --> 548562404
2577579137 --> 3893578720
1359188613 --> 2577579137
1600289359 --> 1359188613
4247442520 --> 1600289359
330948184 --> 4247442520
831903233 --> 330948184
3806155832 --> 831903233
1666290838 --> 3806155832
2478326197 --> 1666290838
2674025753 --> 2478326197
2751680898 --> 2674025753
1089529877 --> 831903233
3620195106 --> 1089529877
3984060476 --> 3620195106
37984305 --> 3984060476
2751680898 --> 37984305
673956333 --> 3620195106
37984305 --> 673956333
1685905456 --> 1600289359
2751680898 --> 1685905456
829357528 --> 412360768
3227531497 --> 829357528
2751680898 --> 3227531497
625385617 --> 829357528
2751680898 --> 625385617
2751680898 --> 829357528
🛈 DocStrings
Bases: RichJupyterWidget, WidgetMixin
Convenience class for a live IPython console widget running out-of-process.
Source code in prettyqt/ipython/baseipythonwidget.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | |
adjust_style_to_palette()
Adjust coloring of the terminal to current palette.
buffer() -> str
clear()
execute(source: str | None = None, hidden: bool = False, interactive: bool = False)
Execute a command in the frame of the console widget.
Source code in prettyqt/ipython/baseipythonwidget.py
get_selected_text() -> str
print_text(text: str, before_prompt: bool = False)
set_buffer(code: str) -> None
Set code string to Jupyter QtConsole buffer.